SftTree/NET 2.0

ClickedColumn Property, FootersClass Class

Softel vdm, Inc.

Returns the column index of the cell in the column footer area that was last pressed.

Syntax      FootersClass Class (Softelvdm.SftTreeNET)

VB   

Public Property ClickedColumn As Integer

C#   

public int ClickedColumn { get; set; }

C++   

public: property int ClickedColumn {
        int get();
        void set(int value);
}

Property Value

The column index that was last pressed or -1 if no cell was pressed.

Comments

The ClickedColumn property returns the column index of the cell in the column footer area that was last pressed.

Only one cell in the entire column footer area can be pressed at any time.

Depending on the Behavior property, a cell that is clicked may automatically return to its released position. In this case, the Pressed property returns null/Nothing. The LastClicked, ClickedRow and ClickedColumn reflect the last pressed cell, even if it has returned to its released position.

Cells in the footer area should be defined using a background appearance that reflects their use as a footer or button (CellBaseClass.Appearance). The default appearance for all footers can be defined using the AppearanceDefault property.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com